package com.hclc.yxb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: hef
 * 启动类
 * @Date: Create in 5:40 下午 2020/7/20
 */
@EnableFeignClients
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableTransactionManagement
@ComponentScan(value = "com.hclc.*")
@MapperScan("com.hclc.mapper,com.hclc.yxb.mapper")
@SpringBootApplication
public class YxbConsoleApplication {
    public static void main(String[] args) {
        SpringApplication.run(YxbConsoleApplication.class, args);
    }
}
